package com.kinghood.productcenter.dao.base;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kinghood.productcenter.common.model.dao.base.BaseSupplierDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kinghood.productcenter.common.model.dto.base.ListSupplierQueryDTO;
import com.kinghood.productcenter.common.model.vo.base.SupplierVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 基础选项-供应商 Mapper 接口
 * </p>
 *
 * @author KingHood
 * @since 2023-12-20
 */
public interface BaseSupplierMapper extends BaseMapper<BaseSupplierDO> {

    /**
     * 供应商列表
     *
     * @param page  页
     * @param param 参数
     * @return @return {@link Page }<{@link SupplierVO }>
     * @author jp
     * @date 2024/01/12 15:02
     */
    Page<SupplierVO> listSupplier(Page<Object> page, @Param("param") ListSupplierQueryDTO param);
}
